package com.moyun.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author yangboxuan
 * @Description 数据权限的枚举类
 * @Date 2022/4/21 11:27
 */
@AllArgsConstructor
@Getter
public enum DataScopeEnum {

    DATA_SCOPE_ALL(1, "全部数据权限"),

    DATA_SCOPE_DEPT(2, "部门数据权限"),

    DATA_SCOPE_DEPT_AND_CHILD(3, "部门及以下数据权限"),

    DATA_SCOPE_SELF(4, "仅本人数据权限"),

    DATA_SCOPE_CUSTOM(5, "自定数据权限");

    private Integer code;
    private String describe;

}
